home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / library / boards21.lha / boardslib / developer / include / libraries / boards.i
Text File  |  1996-04-18  |  2KB  |  67 lines

  1.     IFND    LIBRARIES_BOARDS_I
  2. LIBRARIES_BOARDS_I    SET     1
  3. **
  4. **      $VER: boards.i 2.0 (11-Apr-96)
  5. **
  6. **      boards.library definitions
  7. **
  8. **      (C)1996 by Torsten Bach
  9. **      All Rights Reserved.
  10. **
  11.  
  12.  
  13.         IFND    EXEC_TYPES_I
  14.         INCLUDE 'exec/types.i'
  15.         ENDC
  16.  
  17. ;------------------------------------------------------------------------
  18. ; Generic library informations
  19.  
  20. BOARDSNAME      MACRO
  21.         dc.b    "boards.library",0
  22.         ENDM
  23.  
  24. BOARDSVERSION   EQU     2
  25.  
  26.  
  27. ;------------------------------------------------------------------------
  28. ;
  29. ; BoardInfo structure
  30. ;
  31. ; This structure must only be allocated by boards.library with
  32. ; AllocBoardInfo().
  33. ;
  34. ; The BoardInfo structure are filled with NextBoardInfo()
  35. ; It`s READ-ONLY!
  36.  
  37.   STRUCTURE BoardInfo,0
  38.     APTR    ConfigDev    ; Pointer to ConfigDev structure
  39.     ULONG    bi_flags    ; BoardInfo-flags
  40.     APTR    bi_ConfigDev    ; Pointer to ConfigDev-address [10]
  41.     APTR    bi_ExAddress    ; Pointer to Expansion-address [10]
  42.     APTR    bi_ExSize    ; Pointer to Expansion-size [10]
  43.     APTR    bi_ManuID    ; Pointer to ManufacturerID [6]
  44.     APTR    bi_ProdID    ; Pointer to ProductID [4]
  45.     APTR    bi_ManuName    ; Pointer to Manufacturer [48]
  46.     APTR    bi_ProdName    ; Pointer to Product [48]
  47.     APTR    bi_cd_flags    ; Pointer to ConfigDev-flags [4]
  48.     APTR    bi_er_type    ; Pointer to Expansion-type [4]
  49.     APTR    bi_er_serial    ; Pointer to SerialNumber [12]
  50.     LABEL    bi_sizeoff
  51.  
  52. ; You can change the string format by setting the BoardInfo-flags if you
  53. ; call AllocBoardInfo()
  54.  
  55.  
  56. ;------------------------------------------------------------------------
  57. ; BoardInfo-flags
  58.  
  59. SB_EXPANSION_SIZE_HEX    EQU    1    ;Default = DEC (e.g. 64k )
  60. SB_MANUFACTURERID_HEX    EQU    4    ;Default = DEC (e.g. 2017 )
  61. SB_PRODUCTID_HEX    EQU    8    ;Default = DEC (e.g. 1 )
  62. SB_SERIALNUMBER_HEX    EQU    16    ;Default = DEC (e.g. 123456 )
  63. SB_CONFIGDEV_FLAGS_DEC    EQU    32    ;Default = HEX (e.g. $02 )
  64. SB_EXPANSION_TYPE_DEC    EQU    64    ;Default = HEX (e.g. $c1 )
  65.  
  66.     ENDC
  67.